home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / graphics / rays / cad.001 < prev    next >
Text File  |  1996-11-16  |  3KB  |  62 lines

  1. These are my changes to BRL/CAD 4.2 to allow it to be made for Linux.  It
  2. includes previously contributed changes (cakeflex.tar, linux-diffs.tar), plus
  3. quite a few changes of my own.  I obviously haven't tested everything, but
  4. it seems to work..   I will probably make an svgalib driver for mged/fb very
  5. soon.  It would be nice to have a slightly more sophisticated driver than
  6. the X one... perhaps user-initiable color quantization (the 6x6x6+ color
  7. cube really looks terrible) for the fb driver and mouse button remapping for
  8. the mged driver (I have a 2-button mouse w/ a small machine, and let me tell
  9. ya, having to undo zooms every time I press the simulated middle button is a
  10. real pain.. plus I'm sure there are still people out there w/ 1-button
  11. mice..).
  12.  
  13. I don't think that I included enough relevant portions of the distribution
  14. to warrant encryption, but of course you will still need the main
  15. distribution off of army.arl.mil or wherever you can find it, which is
  16. encrypted.. [see the directions there for how to register & get the printed
  17. manual + decryption key].
  18.  
  19. Note: the file on army.arl.mil, etc. called "brlcad-linux.tar.gz" is not the
  20. same as what you get from my patches.  Someone else made that, & didn't bother
  21. to upload his diffs to the source code, so I made this..  The main difference
  22. I can see off-hand is that he didn't provide the full results of a full "cake
  23. install", so you'd have to get the source code tree anyway, and I made all
  24. the included libraries into shared libs, whereas he only did librt, and
  25. didn't even provide the .sa file to go with it..
  26.  
  27. The shared libraries require the dll toolkit, of which I used V2.11.  Make
  28. sure the bin dir containing the tools is in your path before running anything
  29. which might make a shared library (mklibs.sh, cake all).  For slackware
  30. (2.0+?), this means adding /usr/dll/bin to your path.  In fact, the Cakefile
  31. depends on the toolkit's jump-as to be located as /usr/dll/jump/as.
  32.  
  33. To install for linux:
  34. cd /usr/src/cad         ( or wherever you untar'd BRL/CAD )
  35. patch -p < linux.patch        ( or wherever you put the patch )
  36. setup.sh
  37. cake clobber
  38. mklibs.sh
  39. cake all
  40. cake install
  41. # do whatever you want with the bench, dhrystone, whetstone, and jove dirs
  42. cake clobber ; rm -rf lib*/jump
  43.  
  44. You'll need about 66M free space to get past the 'cake install' line, and
  45. if you want to do anything with the dirs which are not automatically
  46. installed, you will probably need more.
  47.  
  48. The actuall installation (du -s /usr/brlcad after cake install) is ~11M.
  49.  
  50. Note:  I can't say anything about the speed of this package, since I only
  51. ran it on my machine, a lowly 25 MHz 486SX, no math coprocessor... Even so,
  52. the benchmark produced ~5-6X the listed performance of a VAX 11/780, which
  53. isn't too bad for what passes for a low-end machine nowadays...
  54.  
  55. Next on my list: port to Amiga [at least as a frame buffer], port of v4.3+,
  56. perhaps get xmged to working [w/o having to shell out $150 for Motif].
  57.  
  58. -----------------------------------------------------------------------------
  59. Thomas J. Moore, Amiga Developer  | Parallel Processing:  The future of PC's
  60. inet:  dark@mama.indstate.edu     | Must .... Kill .... Bugs.... AAARRRGGHHH
  61. -----------------------------------------------------------------------------
  62.